package com.example.assetmanagement.domain;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class User {
    private Long id;
    private String username;
    private String password;
    private String fullName;
    private String email;
    private String phone;
    private String department;
    private Integer status;
    private LocalDateTime lastLoginAt;
    private String roleNames;
    private java.util.List<Long> roleIds; // 前端提交角色ID列表（不映射表列）
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
} 